package com.jungle.sp.daily.util;

/**
 * @author Jungle
 * @create 2024-05-21 16:30
 */
public class Tool {
    public static void main(String[] args) throws Exception {
        String key = "68BJ3FVBBWY7UPWI";
        String data = "{\"billNo\":\"122030000105,122040000082\"}";
        // String data = "{\"billNo\":\"122030000105,122040000082\",\"totalFreight\":1}\n";
        String sign = HttpUtils.encrypt(data, key, "UTF-8");
        System.out.println(sign);
        // sign = new String(Base64.encodeBase64(MD5Util.code32(data + key, charset).getBytes(charset)));
    }
}
